<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Relations\Pivot;

class VideoTag extends Pivot
{
    protected $table = 'video_tag';

    // 自动维护时间字段
    public $timestamps = false;
    
    // 批量赋值
    protected $fillable = ['video_id', 'tag_id'];
}
